package com.zou.uaa.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zou.uaa.pojo.PermissionEntry;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper extends BaseMapper<PermissionEntry> {
    List<PermissionEntry> selectPermissionsByUserId(@Param("userId") Integer userId);
}
